class LoadingUI extends eui.Component implements RES.PromiseTaskReporter {
    private pro: eui.ProgressBar;
    public constructor() {
        super();
        this.skinName = "load"


    }

    public onProgress(current: number, total: number): void {
        this.pro.maximum = total
        this.pro.value = current
    }
}
